<template>
  <div>
    <div class="resource-manage">
      <div class="card-box">
        <el-form label-position="top" size="small" ref="assessInFormLand" :model="assessInForm" :rules="assessInForm_rules">
          <div class="card-title">单位基本信息</div>
          <el-form-item label="进驻公司名称" prop="companyName" style="height: 93.98px">
            <template>
              <el-input maxlength="30" @click.native="chooseCName" placeholder="请选择数据" v-model="assessInForm.companyName" readonly style="width: 67%"></el-input>
              <el-button size="mini" type="primary" @click.native="chooseCName" style="width: 30%">选择公司名称</el-button>
            </template>
          </el-form-item>
          <el-form-item label="进驻情况" prop="enterDesc">
            <el-input maxlength="30" placeholder="请输入进驻情况" v-model="assessInForm.enterDesc"></el-input>
          </el-form-item>
          <el-form-item label="登记注册地" prop="registeredAddress">
            <el-input maxlength="30" placeholder="请输入登记注册地" v-model="assessInForm.registeredAddress"></el-input>
          </el-form-item>
          <el-form-item label="产业引进部门" prop="introduceDept">
            <el-input maxlength="30" :disabled="true" placeholder="请输入产业引进部门" v-model="assessInForm.introduceDept"></el-input>
          </el-form-item>
          <el-form-item label="是否总部企业" prop="enterprise">
            <el-select maxlength="30" placeholder="请选择" v-model="assessInForm.enterprise">
              <el-option v-for="item in   choose" :key="item.value" :label="item.label" :value="item.value"></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="是否上市企业" prop="isListCompany">
            <!--                                               <el-input maxlength="30" placeholder="请输入"  v-model="assessInForm.danweiForm.danwei6"></el-input>-->
            <el-select placeholder="请选择" v-model="assessInForm.isListCompany">
              <el-option v-for="item in   choose" :key="item.value" :label="item.label" :value="(('' + item.value).trim() == '')?'':parseInt(item.value)"></el-option>
            </el-select>
          </el-form-item>
          <div class="card-title">租用产业用房信息</div>
          <el-form-item label="进驻园区" prop="parkName">
            <el-input maxlength="30" placeholder="请输入进驻园区" v-model="assessInForm.parkName"></el-input>
          </el-form-item>
          <el-form-item label="楼层" prop="floor">
            <el-input maxlength="30" placeholder="请输入楼层" v-model="assessInForm.floor"></el-input>
          </el-form-item>
          <el-form-item label="合同开始日期" prop="contractStartTm">
            <!--                            <el-input maxlength="30" placeholder="" v-model="assessInForm.zuyongForm.zuyong3"></el-input>-->
            <el-date-picker
              :disabled="true"
              v-model="assessInForm.contractStartTm"
              type="date"
              value-format="yyyy-MM-dd"
              format="yyyy-MM-dd"
              placeholder="请选择合同开始日期"
            ></el-date-picker>
          </el-form-item>
          <el-form-item label="合同结束日期" prop="contractEndTm">
            <el-date-picker
              :disabled="true"
              v-model="assessInForm.contractEndTm"
              type="date"
              value-format="yyyy-MM-dd"
              format="yyyy-MM-dd"
              placeholder="请选择合同结束日期"
            ></el-date-picker>
          </el-form-item>
          <el-form-item label="租期(月)" prop="leaseTerm">
            <el-input maxlength="30" placeholder="请输入租期" :disabled="true" v-model="assessInForm.leaseTerm"></el-input>
          </el-form-item>
          <el-form-item label="承租面积(m²)" prop="leaseArea">
            <el-input maxlength="30" placeholder="请输入承租面积" :disabled="true" v-model="assessInForm.leaseArea"></el-input>
          </el-form-item>
          <el-form-item label="租金单价(元/(月*m²))" prop="rentPrice">
            <el-input maxlength="30" placeholder="请输入租金单价" :disabled="true" v-model="assessInForm.rentPrice"></el-input>
          </el-form-item>
          <el-form-item label="月租金（元/月）" prop="monthRent">
            <el-input maxlength="30" :disabled="true" placeholder="承租面积*租金单价" v-model="assessInForm.monthRent"></el-input>
          </el-form-item>
          <el-form-item label="租金优惠（元/月）" prop="rentConcession">
            <el-input maxlength="30" placeholder="请输入租金优惠" v-model="assessInForm.rentConcession"></el-input>
          </el-form-item>
          <el-form-item label="租金缴纳情况" prop="rentStatus">
            <el-select maxlength="30" placeholder="请选择租金缴纳情况" v-model="assessInForm.rentStatus">
              <el-option v-for="item in rentStatuss" :key="item.value" :label="item.label" :value="item.value"></el-option>
            </el-select>
          </el-form-item>
          <div class="card-title">经济指标</div>
          <el-form-item label="纳税登记地" prop="taxPlace">
            <el-input maxlength="30" placeholder="请输入纳税登记地" v-model="assessInForm.taxPlace"></el-input>
          </el-form-item>
          <el-form-item label="纳税地" prop="statisticsLand">
            <el-input maxlength="30" placeholder="请输入纳税地" v-model="assessInForm.statisticsLand"></el-input>
          </el-form-item>
          <el-form-item label="纳税总额（元）" prop="totalTax">
            <el-input maxlength="14" placeholder="请输入纳税总额" v-model="assessInForm.totalTax"></el-input>
          </el-form-item>
          <el-form-item label="纳税增速(%)" prop="taxGrowth">
            <el-input maxlength="5" placeholder="请输入纳税增速" v-model="assessInForm.taxGrowth"></el-input>
          </el-form-item>
          <el-form-item label="年产值（元）" prop="yearOutput">
            <el-input maxlength="14" placeholder="请输入年产值" v-model="assessInForm.yearOutput"></el-input>
          </el-form-item>
          <el-form-item label="年综合贡献(元)" prop="yearContribution">
            <el-input maxlength="14" placeholder="请输入年综合贡献" v-model="assessInForm.yearContribution"></el-input>
          </el-form-item>
          <el-form-item label="上年度营收（元）" prop="lastYearRevenue">
            <el-input maxlength="14" placeholder="请输入上年度营收" v-model="assessInForm.lastYearRevenue"></el-input>
          </el-form-item>
          <el-form-item label="营收增长率(%)" prop="revenueGrouth">
            <el-input maxlength="30" placeholder="请输入营收增长率" v-model="assessInForm.revenueGrouth"></el-input>
          </el-form-item>
          <el-form-item label="综合贡献（元/年）" prop="comprehensiveContribute">
            <el-input maxlength="5" placeholder="请输入综合贡献" v-model="assessInForm.comprehensiveContribute"></el-input>
          </el-form-item>
          <div class="card-title">教育与科研指标</div>
          <el-form-item label="培养*位人才（博士、硕士、工程师等）" prop="talentNum" class="col-one">
            <el-input maxlength="6" placeholder="请输入培养人数" v-model="assessInForm.talentNum"></el-input>
          </el-form-item>
          <el-form-item label="申请*个国家、省市等项目" prop="applyProjectNum">
            <el-input maxlength="6" placeholder="请输入申请个数" v-model="assessInForm.applyProjectNum"></el-input>
          </el-form-item>
          <el-form-item label="申请*项软著" prop="applyCopyrightNum">
            <el-input maxlength="6" placeholder="请输入申请个数" v-model="assessInForm.applyCopyrightNum"></el-input>
          </el-form-item>
          <el-form-item label="申请*项专利" prop="applyPatentNum">
            <el-input maxlength="6" placeholder="请输入申请个数" v-model="assessInForm.applyPatentNum"></el-input>
          </el-form-item>
          <el-form-item label="是否国家高新技术企业" prop="isTechnology">
            <el-select maxlength="2" placeholder="请选择" v-model="assessInForm.isTechnology">
              <el-option v-for="item in   choose" :key="item.value" :label="item.label" :value="item.value"></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="是否国家或省级重点实验室、工程实验室、工程（技术）研究中心" prop="isResearch" class="col-two">
            <el-select maxlength="2" placeholder="请选择" v-model="assessInForm.isResearch">
              <el-option v-for="item in   choose" :key="item.value" :label="item.label" :value="item.value"></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="研发投入（元）" prop="researchInput">
            <el-input maxlength="14" placeholder="请输入研发投入" v-model="assessInForm.researchInput"></el-input>
          </el-form-item>
          <el-form-item label="研发投入增长率(%)" prop="researchGrouth">
            <el-input maxlength="5" placeholder="请输入研发投入增长率" v-model="assessInForm.researchGrouth"></el-input>
          </el-form-item>
          <el-form-item label="研发投入占当年营收的百分比" prop="researchRadio">
            <el-input maxlength="5" placeholder="请输入研发投入占当年营收的百分比" v-model="assessInForm.researchRadio"></el-input>
          </el-form-item>

          <div class="card-title">其它业绩指标</div>
          <el-form-item label="引入*领域企业不少于*家" prop="companyNum">
            <el-input maxlength="6" placeholder="请输入引入数量" v-model="assessInForm.companyNum"></el-input>
          </el-form-item>
          <el-form-item label="引入中科院或工程院院士不少于*名" prop="academicianNum">
            <el-input maxlength="3" placeholder="请输入引入数量" v-model="assessInForm.academicianNum"></el-input>
          </el-form-item>
          <div class="card-title">考核结果信息</div>
          <el-form-item label="年度" prop="year">
            <el-date-picker v-model="assessInForm.year" type="year" value-format="yyyy" format="yyyy" placeholder="请选择年度"></el-date-picker>
          </el-form-item>
          <el-form-item label="考核结果" prop="assessResult">
            <el-select maxlength="2" placeholder="请选择" v-model="assessInForm.assessResult">
              <el-option v-for="item in assessResults" :key="item.value" :label="item.label" :value="item.value"></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="备注" prop="remarks" class="full">
            <el-input maxlength="200" placeholder="请输入备注" v-model="assessInForm.remarks"></el-input>
          </el-form-item>
          <div class="card-title"></div>
          <el-button type="primary" plain class="planning-button" v-throttle="[handleDialogClick]">保存</el-button>
        </el-form>
      </div>
    </div>
    <comp-list ref="comp" @giveList="acceptList"></comp-list>
  </div>
</template>

<script src="./editExam.js">
</script>

<style scoped lang="scss">
@import "./src/assets/style/common";

.resource-manage {
  display: grid;
  /*column-gap: 16px;*/
  padding: 16px 24px;
}
.planning-button {
  margin: 10px;
  float: right;
}
.card-title {
  clear: both;
  margin: 20px;
}

.el-form-item {
  width: 25%;
  float: left;
  padding: 10px;
}
.col-one {
  width: 50%;
}
.col-two {
  width: 50%;
}
.full {
  width: 100%;
}
</style>
